package com.mgvlife.ddlw.service;

import java.io.IOException;

import com.mgvlife.ddlw.formbean.ScheduleForm;
import com.mgvlife.ddlw.vo.Result;
import com.mgvlife.ddlw.vo.VoClazz2;
import com.mgvlife.ddlw.vo.VoSchedule;
import com.xinhuo.exception.DaoException;
import com.xinhuo.vo.JsonEasyUI;

public interface ScheduleService {
	public Result scheduleAdd(ScheduleForm dataForm) throws Exception;

	public Result scheduleUpdate(ScheduleForm dataForm) throws Exception;

	public Result scheduleDelete(ScheduleForm dataForm) throws Exception;

	public JsonEasyUI<VoSchedule> getData(ScheduleForm dataForm)
			throws DaoException;

	public JsonEasyUI<VoSchedule> getDataByAdmin(ScheduleForm dataForm)
			throws DaoException;

	public JsonEasyUI<VoClazz2> getClazzsData(ScheduleForm dataForm)
			throws Exception;

	public Result startDd(ScheduleForm dataForm) throws Exception;

	public Result downLoadExcel(ScheduleForm dataForm) throws IOException;
}
